<p class="Paragraph"><help:paragraphinfo state="U" number="4" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns a cell address (reference) as text, according to the specified row and column numbers.</help:help-text> Optionally, you can determine whether the address is interpreted as an absolute address (for example, $A$1) or as a relative address (as A1) or in a mixed form (A$1 or $A1). You can also specify the name of the sheet.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="7" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">row</span> represents the row number for the cell reference</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="8" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">column</span> represents the column number for the cell reference (the number, not the letter)</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="9" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">abs</span> determines the type of reference:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="10" xmlns:help="http://openoffice.org/2000/help"/>1 or empty: absolute ($A$1)</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="11" xmlns:help="http://openoffice.org/2000/help"/>2: row reference type is absolute; column reference is relative (A$1)</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="14" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">sheet</span> represents the name of the sheet. It must be placed in double quotes.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="17" xmlns:help="http://openoffice.org/2000/help"/>If the cell A1 in sheet 2 contains the value -6, you can refer indirectly to the referenced cell using a function in B2 by entering =ABS(INDIRECT(B2)). The result is the absolute value of the cell reference specified in B2, which in this case is 6.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="20" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the number of individual ranges that belong to a multiple range.</help:help-text> A range can consist of contiguous cells or a single cell.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="23" xmlns:help="http://openoffice.org/2000/help"/>Reference represents the reference to a cell or cell range.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="25" xmlns:help="http://openoffice.org/2000/help"/>=AREAS(A1:B3;F2;G1) returns 3, as it is a reference to three cells and/or areas.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="26" xmlns:help="http://openoffice.org/2000/help"/>=AREAS(All) returns 1 if you have defined an area named <span class="T1">All under Data - Define Range</span>.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="29" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the result of a DDE-based link.</help:help-text> If the contents of the linked range or section changes, the returned value will also change. You must reload the spreadsheet or choose <span class="T1">Edit - Links</span> to see the updated links. Cross-platform links, for example from a<help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> installation running on a Windows machine to a document created on a Linux machine, are not allowed.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="32" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Server</span> is the name of a server application. <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> applications have the server name "Soffice".</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="33" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">File</span> is the complete file name, including path specification.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="34" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Range</span> is the area containing the data to be evaluated.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="184" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Mode</span> is an optional parameter that controls the method by which the DDE server converts its data into numbers.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="188" xmlns:help="http://openoffice.org/2000/help"/>Number format from the "Default" cell style</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="190" xmlns:help="http://openoffice.org/2000/help"/>Data are always interpreted in the standard format for US English</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="192" xmlns:help="http://openoffice.org/2000/help"/>Data are retrieved as text; no conversion to numbers</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="36" xmlns:help="http://openoffice.org/2000/help"/>=DDE("soffice";"c:\office\document\data1.sxc";"sheet1.A1") reads the contents of cell A1 in sheet1 of the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc spreadsheet data1.sxc.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="37" xmlns:help="http://openoffice.org/2000/help"/>=DDE("soffice";"c:\office\document\motto.sxw";"Today's motto") returns a motto in the cell containing this formula. First, you must enter a line in the motto.sxw document containing the motto text and define it as the first line of a section named Today's Motto (in <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Writer under <span class="T1">Insert - Section</span>). If the motto is modified (and saved) in the <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Writer document, the motto is updated in all <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc cells in which this DDE link is defined.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="39" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the number corresponding to an <help:link Id="66944">error value</help:link> occurring in a different cell.</help:help-text> With the aid of this number, you can generate an error message text.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="40" xmlns:help="http://openoffice.org/2000/help"/>The Status Bar displays the predefined error code from <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> if you click the cell containing the error.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="43" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Reference</span> contains the address of the cell in which the error occurs.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="45" xmlns:help="http://openoffice.org/2000/help"/>If cell A1 displays Err:518, the function =ERRORTYPE(A1) returns the number 518.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="48" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">INDEX returns the content of a cell, specified by row and column number or an optional range name.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="51" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">reference</span> is a cell reference, entered either directly or by specifying a range name. If the reference consists of multiple ranges, you must enclose the reference or range name in parentheses.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="52" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">row</span> (optional) represents the row number of the reference range, for which to return a value.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="53" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">column</span> (optional) represents the column number of the reference range, for which to return a value.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="54" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">range</span> (optional) represents the index of the subrange if referring to a multiple range.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="56" xmlns:help="http://openoffice.org/2000/help"/>=INDEX(Prices;4;1) returns the value from row 4 and column 1 of the database range defined in <span class="T1">Data - Define</span> as <span class="T1">Prices</span>.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="57" xmlns:help="http://openoffice.org/2000/help"/>=INDEX(SumX;4;1) returns the value from the range <span class="T1">SumX</span> in row 4 and column 1 as defined in <span class="T1">Insert - Names - Define</span>.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="58" xmlns:help="http://openoffice.org/2000/help"/>=INDEX((multi);4;1) indicates the value contained in row 4 and column 1 of the (multiple) range, which you named under <span class="T1">Insert - Names - Set</span> as <span class="T1">multi</span>. The multiple range may consist of several rectangular ranges, each with a row 4 and column 1. If you now want to call the second block of this multiple range enter the number 2 as the <span class="T1">range</span> parameter.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="59" xmlns:help="http://openoffice.org/2000/help"/>=INDEX(A1:B6;1;1) indicates the value in the upper-left of the A1:B6 range.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="63" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the <span class="T1">reference</span> specified by a text string.</help:help-text> This function can also be used to return the area of a corresponding string.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="66" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">ref</span> represents a reference to a cell or an area (in text form) for which to return the contents.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="68" xmlns:help="http://openoffice.org/2000/help"/>=INDIRECT(A1) equals 100 if A1 contains C108 as a reference and cell C108 contains a value of 100.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="181" xmlns:help="http://openoffice.org/2000/help"/>=SUM(INDIRECT("a1:" & ADDRESS(1;3))) totals the cells in the area of A1 up to the cell, whose address is defined by row 1 and column 3. Therefore, area A1:C1 is totaled.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="193" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the column number of a cell reference.</help:help-text> If the reference is a cell the column number of the cell is returned; if the parameter is a cell area, the corresponding column numbers are returned in a single-row <help:popup Id="66878" Eid="wasmatrix" xmlns:help="http://openoffice.org/2000/help">array</help:popup> if the formula is entered <help:popup Id="66878" Eid="somatrixformel" xmlns:help="http://openoffice.org/2000/help">as an array formula</help:popup>. If the COLUMN function with an area reference parameter is not used for an array formula, only the column number of the first cell within the area is determined.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="74" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Reference</span> is the reference to a cell or cell area whose first column number is to be found.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="194" xmlns:help="http://openoffice.org/2000/help"/>If no reference is entered, the column number of the cell in which the formula is entered is found. <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc automatically sets the reference to the current cell.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="76" xmlns:help="http://openoffice.org/2000/help"/>=COLUMN(A1) equals 1. Column A is the first column in the table.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="77" xmlns:help="http://openoffice.org/2000/help"/>=COLUMN(C3:E3) equals 3. Column C is the third column in the table.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="195" xmlns:help="http://openoffice.org/2000/help"/>=COLUMN(D3:G10) returns 4 because column D is the fourth column in the table and the COLUMN function is not used as an array formula. (In this case, the first value of the array is always used as the result.)</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="196" xmlns:help="http://openoffice.org/2000/help"/>{=COLUMN(B2:B7)} and =COLUMN(B2:B7) both return 2 because the reference only contains column B as the second column in the table. Because single-column areas have only one column number, it does not make a difference whether or not the formula is used as an array formula.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="197" xmlns:help="http://openoffice.org/2000/help"/>=COLUMN() returns 3 if the formula was entered in column C.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="198" xmlns:help="http://openoffice.org/2000/help"/>{=COLUMN(Rabbit)} returns the single-row array (3, 4) if "Rabbit" is the named area (C1:D3).</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="80" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the number of columns in the given reference.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="83" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">array</span> is the reference to a cell range whose total number of columns is to be found. The argument can also be a single cell.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="200" xmlns:help="http://openoffice.org/2000/help"/>=Columns(B5) returns 1 because a cell only contains one column.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="85" xmlns:help="http://openoffice.org/2000/help"/>=COLUMNS(A1:C5) equals 3. The reference comprises three columns.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="201" xmlns:help="http://openoffice.org/2000/help"/>=COLUMNS(Rabbit) returns 2 if "Rabbit" is the named range (C1:D3).</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="88" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Vertical search with reference to adjacent cells to the right.</help:help-text> This function checks if a specific value is contained in the first column of an array. The function then returns the value to the same line of a specific array column named by index.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="91" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Search criterion</span> is the value searched for in the first column of the array.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="92" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">array</span> is the reference, which is to comprise at least two columns.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="93" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">index</span> is the number of the column in the array that contains the value to be returned. The first column has the number 1.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="94" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Sort order</span> is an optional parameter that indicates whether the first column in the array is sorted in ascending order. Enter the Boolean value FALSE if the first column is not sorted in ascending order. Sorted columns can be searched much faster and the function always returns a value, even if the search value was not matched exactly, if it is between the lowest and highest value of the sorted list. In unsorted lists, the search value must be matched exactly. Otherwise the function will return this message: <span class="T1">Error: Value Not Available</span>.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="96" xmlns:help="http://openoffice.org/2000/help"/>You want to enter the number of a dish on the menu in cell A1, and the name of the dish is to appear as text in the neighboring cell (B1) immediately. The Number to Name assignment is contained in the D1:E100 array. D1 contains 100, E1 contains the name <span class="T1">Vegetable Soup</span>, and so forth, for 100 menu items. The numbers in column D are sorted in ascending order; thus, the optional <span class="T1">Sort order</span> parameter is not necessary.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="97" xmlns:help="http://openoffice.org/2000/help"/>Enter the following formula in B1:</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="99" xmlns:help="http://openoffice.org/2000/help"/>As soon as you enter a number in A1 B1 will show the corresponding text contained in the second column of reference D1:E100. Entering a nonexistent number displays the text with the next number down. To prevent this, enter FALSE as the last parameter in the formula so that an error message is generated when a nonexistent number is entered.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="216" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the sheet number of a reference or a string representing a sheet name.</help:help-text> If you do not enter any parameters, the result is the sheet number of the spreadsheet containing the formula.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="219" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Reference</span> is optional and is the reference to a cell, an area, or a sheet name string.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="221" xmlns:help="http://openoffice.org/2000/help"/>=SHEET(Sheet2.A1) returns 2 if Sheet2 is the second sheet in the spreadsheet document.</p>
<p class="Head2"><help:paragraphinfo state="U" number="222" xmlns:help="http://openoffice.org/2000/help"/><help:help-id value="HID_FUNC_TABELLEN" xmlns:help="http://openoffice.org/2000/help"/><a name="tabellen"/>SHEETS<help:key-word value="SHEETS; number of sheets" tag="kw66791_10" xmlns:help="http://openoffice.org/2000/help"/></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="223" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Determines the number of sheets in a reference.</help:help-text> If you do not enter any parameters, it returns the number of sheets in the current document.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="226" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Reference</span> is the reference to a sheet or an area. This parameter is optional.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="228" xmlns:help="http://openoffice.org/2000/help"/>=SHEETS(Sheet1.A1:Sheet3.G12) returns 3 if Sheet1, Sheet2, and Sheet3 exist in the sequence indicated.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="102" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the relative position of an item in an array that matches a specified value.</help:help-text> The function returns the position of the value found in the lookup_array as a number.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="105" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Search Criterion</span> is the value which is to be searched for in the single-row or single-column array.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="106" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">lookup_array</span> is the reference searched. A lookup array can be a single row or column, or part of a single row or column.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="107" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Type</span> may take the values 1, 0, or -1. If Type = 1 or if this optional parameter is missing, it is assumed that the first column of the search array is sorted in ascending order. If Type = -1 it is assumed that the column in sorted in descending order. This corresponds to the same function in Microsoft Excel.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="231" xmlns:help="http://openoffice.org/2000/help"/>If Type = 0, only exact matches are found. If the search criterion is found more than once, the function returns the first one found. Only if Type = 0 can you search for regular expressions.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="232" xmlns:help="http://openoffice.org/2000/help"/>If Type = 1 or the third parameter is missing, the last value that is smaller or equal to the search criterion is returned. This applies even when the search array is not sorted. For Type = -1, the first value that is larger or equal is returned.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="109" xmlns:help="http://openoffice.org/2000/help"/>=MATCH(200; D1:D100) searches the area D1:D100, which is sorted by column D, for the value 200. As soon as this value is reached, the number of the row in which it was found is returned. If a higher value is found during the search in the column, the number of the previous row is returned.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="112" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the value of a cell offset by a certain number of rows and columns from a given reference point.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="115" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Reference</span> is the cell from which the function searches for the new reference.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="116" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Rows</span> is the number of cells by which the reference was corrected up (negative value) or down.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="117" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Columns</span> is the number of columns by which the reference was corrected to the left (negative value) or to the right.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="118" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Height</span> is the optional vertical height for an area that starts at the new reference position.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="119" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Width</span> is the optional horizontal width for an area that starts at the new reference position.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="121" xmlns:help="http://openoffice.org/2000/help"/>=OFFSET(A1; 2, 2) returns the value in cell C3 (A1 moved by two rows and two columns down). If C3 contains the value 100 this function returns the value 100.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="122" xmlns:help="http://openoffice.org/2000/help"/>=SUM(OFFSET(A1; 2; 2; 5; 6)) determines the total of the area that starts in cell C3 and has a height of 5 rows and a width of 6 columns (area=C3:H7).</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="124" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the contents of a cell either from a one-row or one-column range or from an array.</help:help-text> Optionally, the assigned value (of the same index) is returned in a different column and row. As opposed to <help:link Id="66791" Eid="sverweis" xmlns:help="http://openoffice.org/2000/help">VLOOKUP</help:link> and <help:link Id="66791" Eid="wverweis" xmlns:help="http://openoffice.org/2000/help">HLOOKUP</help:link>, search and result vector may be at different positions; they do not have to be adjacent. Additionally, the search vector for the LOOKUP must be sorted, otherwise the search will not return any usable results.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="127" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Search criterion</span> is the value to be searched for; entered either directly or as a reference.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="128" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Search vector</span> is the single-row or single-column area to be searched.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="129" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">result_vector</span> is another single-row or single-column range from which the result of the function is taken. The result is the cell of the result vector with the same index as the instance found in the search vector.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="131" xmlns:help="http://openoffice.org/2000/help"/>=LOOKUP(A1; D1:D100;F1:F100) searches the corresponding cell in range D1:D100 for the number you entered in A1. For the instance found, the index is determined, for example, the 12th cell in this range. Then, the contents of the 12th cell are returned as the value of the function (in the result vector).</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="134" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Applies a style to the cell containing the formula.</help:help-text> After a set amount of time, another style can be applied. This function always returns the value 0, allowing you to add it to another function without changing the value. Together with the CURRENT function you can apply a color to a cell regardless of the value. For example: =...+STYLE(IF(CURRENT()>3;"red";"green")) applies the style "red" to the cell if the value is greater than 3, otherwise the style "green" is applied. Both cell formats have to be defined beforehand.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="137" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Style</span> is the name of a cell style assigned to the cell. Style names must be entered in quotation marks.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="138" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Time</span> is an optional time range in seconds. If this parameter is missing the style will not be changed after a certain amount of time has passed.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="139" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Style2</span> is the optional name of a cell style assigned to the cell after a certain amount of time has passed. If this parameter is missing "Standard" is assumed.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="141" xmlns:help="http://openoffice.org/2000/help"/>=STYLE("Invisible";60;"Default") formats the cell in transparent format for 60 seconds after the document was recalculated or loaded, then the Default format is assigned. Both cell formats have to be defined beforehand.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="143" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Uses an index to return a value from a list of up to 30 values.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="146" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Index</span> is a reference or number between 1 and 30 indicating which value is to be taken from the list.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="147" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Value1...Value30</span> is the list of values entered as a reference to a cell or as individual values.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="149" xmlns:help="http://openoffice.org/2000/help"/>=CHOOSE(A1; B1; B2; B3; "Today"; "Yesterday"; "Tomorrow"), for example, returns the contents of cell B2 for A1 = 2; for A1 = 4, the function returns the text "Today".</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="152" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Searches for a value and reference to the cells below the selected area.</help:help-text> This function verifies if the first row of an array contains a certain value. The function returns then the value in a row of the array, named in the <span class="T1">Index</span>, in the same column.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="203" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the row number of a cell reference.</help:help-text> If the reference is a cell, it returns the row number of the cell. If the reference is a cell range, it returns the corresponding row numbers in a one-column <help:popup Id="66878" Eid="wasmatrix" xmlns:help="http://openoffice.org/2000/help">Array</help:popup> if the formula is entered <help:popup Id="66878" Eid="somatrixformel" xmlns:help="http://openoffice.org/2000/help">as an array formula</help:popup>. If the ROW function with a range reference is not used in an array formula, only the row number of the first range cell will be returned.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="161" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">Reference</span> is a cell, an area, or the name of an area.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="204" xmlns:help="http://openoffice.org/2000/help"/>If you do not indicate a reference, the row number of the cell in which the formula is entered will be found. <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Calc automatically sets the reference to the current cell.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="205" xmlns:help="http://openoffice.org/2000/help"/>=ROW(B3) returns 3 because the reference refers to the third row in the table.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="206" xmlns:help="http://openoffice.org/2000/help"/>{=ROW(D5:D8)} returns the single-column array (5, 6, 7, 8) because the reference specified contains rows 5 through 8.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="207" xmlns:help="http://openoffice.org/2000/help"/>=ROW(D5:D8) returns 5 because the ROW function is not used as array formula and only the number of the first row of the reference is returned.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="208" xmlns:help="http://openoffice.org/2000/help"/>{=ROW(A1:E1)} and =ROW(A1:E1) both return 1 because the reference only contains row 1 as the first column in the table. (Because single-row areas only have one row number it does not make any difference whether or not the formula is used as an array formula.)</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="209" xmlns:help="http://openoffice.org/2000/help"/>=ROW() returns 3 if the formula was entered in row 3.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="210" xmlns:help="http://openoffice.org/2000/help"/>{=ROW(Rabbit)} returns the single-column array (1, 2, 3) if "Rabbit" is the named area (C1:D3).</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="167" xmlns:help="http://openoffice.org/2000/help"/><help:help-text value="visible" xmlns:help="http://openoffice.org/2000/help">Returns the number of rows in a reference or array.</help:help-text></p>
<p class="Paragraph"><help:paragraphinfo state="U" number="170" xmlns:help="http://openoffice.org/2000/help"/><span class="T1">array</span> is the reference or named area whose total number of rows is to be determined.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="212" xmlns:help="http://openoffice.org/2000/help"/>=Rows(B5) returns 1 because a cell only contains one row.</p>
<p class="Paragraph"><help:paragraphinfo state="U" number="213" xmlns:help="http://openoffice.org/2000/help"/>=ROWS(Rabbit) returns 2 if "Rabbit" is the named area (C1:D3).</p>